package arithmetic2;

/**
 * Created by AJie on 2019/8/6
 * Function :
 */
public class T_237_DeleteNodeInALinkedList {
    public static void main(String[] args) {

    }
    public static void deleteNode(ListNode node) {
        //1 del first node
        //father node.next==node.next.next,but not father
        node.val = node.next.val;
        node.next = node.next.next;
    }
}
